<template>
  <div id="app">
  <router-view/>
  </div>
</template>
<script lang="ts">
import Vue from 'vue'
import axios from 'axios'
export default Vue.extend({
  methods: {
    async onClick () {
      try {
        const data = await axios.create().get('http://eduboss.lagou.com/')
        console.log('data', data)
      } catch (error) {
        console.log('error', error)
      }
    }
  }
})
</script>
<style lang="scss" scoped>
.bg-diy {
  padding:10em;
  background-color: $primary-color;
}
</style>
